package com.ylyq.lingoserver.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ylyq.lingoserver.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaweichao
 * @since 2020-06-19
 */
@Data
@ApiModel(value = "用户实体")
public class YlyqUser extends BaseEntity {

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;

    /**
     * 密码
     */
    @JsonIgnore
    private String password;

    /**
     * 头像url
     */
    @ApiModelProperty(value = "头像url")
    private String avatar;

}
